<template>
  <div>
    <h2>使用 element</h2>
    <el-row>
      <el-button>默认按钮</el-button>
      <el-button type="primary">主要按钮</el-button>
      <el-button type="success">成功按钮</el-button>
      <el-button type="info">信息按钮</el-button>
      <el-button type="warning">警告按钮</el-button>
      <el-button type="danger">危险按钮</el-button>
    </el-row>
    <h3>input 输入框</h3>
    <!-- <span>手机号</span> -->
    <el-input
      prefix-icon="el-icon-user-solid"
      v-model="input"
      placeholder="请输入内容"
    ></el-input>
    <!-- <span>密码</span> -->
    <el-input
      v-model="input"
      prefix-icon="el-icon-unlock"
      placeholder="请输入内容"
    ></el-input>
  </div>
</template>

<script>
export default {
  name: "element",
  data() {
    return {
      input: ""
    };
  }
};
</script>

<style></style>
